import Vue from 'vue'
import VueRouter from 'vue-router'

Vue.use(VueRouter)

const routes = [
  {
    path: '/seller',
    name: 'seller',
    component: () => import('@/views/seller')
  },
  {
    path: '/trend',
    name: 'trend',
    component: () => import('@/views/trend')
  },
  {
    path: '/map',
    name: 'map',
    component: () => import('@/views/map')
  },
  {
    path: '/rank',
    name: 'rank',
    component: () => import('@/views/rank')
  },
  {
    path: '/hot',
    name: 'hot',
    component: () => import('@/views/hotProduct')
  },
  {
    path: '/stock',
    name: 'stock',
    component: () => import('@/views/stock')
  }
  // {
  //   path: '/about',
  //   name: 'About',
  //   component: () => import(/* webpackChunkName: "about" */ '../views/About.vue')
  // }
]

const router = new VueRouter({
  routes
})

export default router
